package com.itheima.bigevent.service;

import com.itheima.bigevent.pojo.Result;
import com.itheima.bigevent.pojo.User;

import java.util.Map;

/**
 * ClassName: UserService
 * Package: com.itheima.bigevent.service
 * Description:
 *
 * @Author: Zhang Peiyuan
 * @Create: 2024-08-19-14:59
 * @Version: v1.0
 */
public interface UserService {
    User findByUserName(String username);

    void register(String username, String password);

    void update(User user);

    void updateAvatar(String avatarUrl);

    Result<String> updatePassword(Map<String, Object> map);
}
